<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>fullPage.js — 基本演示_dowebok</title>
<link rel="stylesheet" href="css/jquery.fullPage.css">
<style>
.section { text-align: center; font: 50px "Microsoft Yahei"; color: #fff;}
.animate{
	-moz-transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
#fp-nav{background-color: rgba(0,0,0,0.2);border-radius: 15px;}
#fp-nav li{margin: 10px !important;}
#fp-nav li .active{background: url(images/fullPage_menu_active.png) no-repeat;width: 62px;
            height: 33px;left: -43px;top: -8px;}
#fp-nav em{color: #fff;font-style: normal;line-height: 32px;padding-left: .8em;}
#fp-nav li .active span, .fp-slidesNav .active span {
    background-color: #ff8a76 !important;
    left: auto;
    right: 7px;
    top: 12px;
}
#fp-nav span, .fp-slidesNav span {
    background-color: #fff !important;
    border: 0 !important;
    width: 10px !important;
    height: 10px !important;
}
</style>
<script src="js/jquery-1.8.3.min.js"></script>
<script src="js/jquery.fullPage.min.js"></script>
<script>
$(function(){
	$('#dowebok').fullpage({
		sectionsColor: ['#1bbc9b', '#4BBFC3', '#7BAABE', '#f90'],
		css3: true,
		navigation: true,
		navigationPosition: "right",
		afterRender: function() {
			$("#fp-nav em").hide(), $("#fp-nav").find("a.active").html("<span></span><em>01</em>").find("em").show()
		},
		onLeave: function(index, next) {
			// 显示默认隐藏的页面
			$('#J_p' + next ).show();
			// 右侧翻页菜单
			$("#fp-nav em").hide(), $("#fp-nav").find("a").eq(next - 1).html("<span></span><em>0" + next + "</em>").find("em").show()
			// , $(".section" + index).removeClass("animate"), index == 3 && $(".pos").hide()
		},
	});
});
</script>
</head>

<body>

<div id="dowebok">
	<div id="J_p1" class="section">
		<h3>第一屏</h3>
	</div>
	<div id="J_p2" class="section">
		<div class="slide">第二屏的第一屏</div>
		<div class="slide">第二屏的第二屏</div>
		<div class="slide">第二屏的第三屏</div>
	</div>
	<div id="J_p3" class="section">
		<h3>第三屏</h3>
	</div>
	<div id="J_p4" class="section">
		<h3>第四屏</h3>
		<p>这是最后一屏</p>
	</div>
</div>











<a href="http://www.dowebok.com/" style="display: none;">dowebok</a>
<a href="http://www.dowebok.com/77.html" style="display: none;">jQuery全屏滚动插件fullPage.js</a>

</body>
</html>